<script setup>
// 底层布局容器
</script>

<template>
  <div class="common-layout">
    <el-container class="el-container">
      <el-header height="50px">
        <slot name="header"></slot>
      </el-header>

      <el-container>
        <el-aside width="250px" class="el-aside">
          <slot name="aside"></slot>
        </el-aside>

        <el-main>
          <slot name="main"></slot>
        </el-main>

      </el-container>
    </el-container>
  </div>
</template>

<style scoped>
.el-header {
  padding: 0;
}
.el-menu {
  border: 0;
}
.el-main {
  padding: 0;
}
.el-aside {
  background-color: #2a3441;
}
</style>

